﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace JustDoit.Portal.Models
{
    public class TaskModel
    {
        [Key]
        public int Id { get; set; }

        public string Title { get; set; }

        public string Description { get; set; }

        public decimal Donepercent { get; set; }

        public string Causeofdelay { get; set; }

        [Required]  //Relationship with Tasktype
        public string Typevalue { get; set; }

        public string Username { get; set; }

        public DateTime Adddate { get; set; }

    }
}